<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加管理员</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
</head>
<body>
<div th:insert="~{public/publicTop::admintop}"></div>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>商品添加</legend>
</fieldset>

<div style="margin: auto;">
    <form class="form-horizontal" th:action="@{/admin/addAdmin}" method="post">
        <div class="form-group">
            <label  class="col-sm-2 control-label">管理员账户名</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" name="username" placeholder="testAdmin">
            </div>
        </div>

        <div class="form-group">
            <label  class="col-sm-2 control-label">管理员密码（不可找回）</label>
            <div class="col-sm-8">
                <input type="text" class="form-control number" name="password" >
            </div>
        </div>

        <input type="submit" class="layui-btn" value="添加">
    </form>
</div>

<script th:src="@{/layui/layui.js}"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述 JS 路径需要改成你本地的 -->
</body>
</html>